﻿///////////////////////////////////////////////////////////////////////////
// C++ code generated with wxFormBuilder (version Aug  4 2008)
// http://www.wxformbuilder.org/
//
// PLEASE DO "NOT" EDIT THIS FILE!
///////////////////////////////////////////////////////////////////////////

#ifndef __HeliCtrl_GUI__
#define __HeliCtrl_GUI__

#include <wx/statusbr.h>
#include <wx/gdicmn.h>
#include <wx/font.h>
#include <wx/colour.h>
#include <wx/settings.h>
#include <wx/string.h>
#include <wx/bitmap.h>
#include <wx/image.h>
#include <wx/icon.h>
#include <wx/menu.h>
#include <wx/frame.h>
#include <wx/stattext.h>
#include <wx/choice.h>
#include <wx/button.h>
#include <wx/awx/led.h>
#ifdef __VISUALC__
#include <wx/link_additions.h>
#endif //__VISUALC__
#include <wx/sizer.h>
#include "JoyPosCtrl.h"
#include <wx/statline.h>
#include "ChartCtrl.h"
#include <wx/statbox.h>
#include <wx/slider.h>
#include <wx/checkbox.h>
#include <wx/tglbtn.h>
#include <wx/grid.h>
#include <wx/panel.h>
#include <wx/statbmp.h>
#include <wx/dialog.h>

///////////////////////////////////////////////////////////////////////////

#define ID_DEFAULT wxID_ANY // Default
#define ID_FILE_EXIT 1000
#define ID_HELP_ABOUT 1001
#define ID_ABOUT_ICON 1002
#define ID_ABOUT_APPNAME 1003
#define ID_ABOUT_VERSION 1004
#define ID_ABOUT_COPYRIGHT 1005

///////////////////////////////////////////////////////////////////////////////
/// Class MainFrame
///////////////////////////////////////////////////////////////////////////////
class MainFrame : public wxFrame 
{
	private:
	
	protected:
		wxStatusBar* m_statusBar;
		wxMenuBar* m_menubar;
		wxMenu* m_fileMenu;
		wxMenu* m_helpMenu;
	
	public:
		
		MainFrame( wxWindow* parent, wxWindowID id = ID_DEFAULT, const wxString& title = wxT("HeliCtrl"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 361,275 ), long style = wxDEFAULT_FRAME_STYLE|wxTAB_TRAVERSAL );
		~MainFrame();
	
};

///////////////////////////////////////////////////////////////////////////////
/// Class MainPanel
///////////////////////////////////////////////////////////////////////////////
class MainPanel : public wxPanel 
{
	private:
	
	protected:
		wxStaticText* m_staticText6;
		wxChoice* com_port;
		wxButton* m_ConnectB;
		awxLed* m_ConnStatus;
		
		wxButton* m_DisconnectB;
		wxButton* m_test;
		wxStaticText* m_staticText4;
		wxChoice* m_JoyList;
		awxLed* m_JoyStatus;
		wxJoyPosCtrl* m_JoyDraw;
		
		wxButton* m_JoyRefres;
		wxStaticLine* m_staticline2;
		wxChartCtrl* m_TelemetryChart;
		wxChartCtrl* m_TelemetryChart1;
		wxChartCtrl* m_TelemetryChart2;
		wxStaticText* battery_voltage;
		wxStaticText* acl2;
		wxStaticText* acl1;
		wxSlider* voltage_limit;
		wxStaticText* vll;
		wxCheckBox* yaw_correction_enable;
		wxSlider* yaw_correction;
		wxSlider* beep_type;
		wxToggleButton* beep_btn;
		wxSlider* integr_offsets_x;
		wxSlider* integr_offsets_y;
		wxButton* m_button5;
		wxStaticLine* m_staticline41;
		wxStaticText* m_staticText51;
		wxGrid* telemetry_snap_shot;
		
		// Virtual event handlers, overide them in your derived class
		virtual void Connect_ButtonClick( wxCommandEvent& event ){ event.Skip(); }
		virtual void Disconnect_ButtonClick( wxCommandEvent& event ){ event.Skip(); }
		virtual void Test_ButtonClick( wxCommandEvent& event ){ event.Skip(); }
		virtual void OnJoyChange( wxCommandEvent& event ){ event.Skip(); }
		virtual void OnJoysReload( wxCommandEvent& event ){ event.Skip(); }
		virtual void OnVoltageLimit( wxScrollEvent& event ){ event.Skip(); }
		virtual void OnBeepBtn( wxCommandEvent& event ){ event.Skip(); }
		virtual void OnIntegrOffsets( wxScrollEvent& event ){ event.Skip(); }
		virtual void OnIntegrReset( wxCommandEvent& event ){ event.Skip(); }
		
	
	public:
		
		MainPanel( wxWindow* parent, wxWindowID id = ID_DEFAULT, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 596,502 ), long style = 0 );
		~MainPanel();
	
};

///////////////////////////////////////////////////////////////////////////////
/// Class AboutDlg
///////////////////////////////////////////////////////////////////////////////
class AboutDlg : public wxDialog 
{
	private:
	
	protected:
		wxStaticBitmap* m_icon;
		wxStaticText* m_staticAppName;
		wxStaticText* m_staticVersion;
		wxStaticLine* m_staticline1;
		wxStaticText* m_staticCopyright;
		wxStdDialogButtonSizer* m_aboutDialogButtonSizer;
		wxButton* m_aboutDialogButtonSizerOK;
	
	public:
		
		AboutDlg( wxWindow* parent, wxWindowID id = ID_DEFAULT, const wxString& title = wxT("About HeliCtrl..."), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxDEFAULT_DIALOG_STYLE );
		~AboutDlg();
	
};

#endif //__HeliCtrl_GUI__
